package test.check.system.remote;

import java.io.BufferedReader;
import java.io.IOException;
import java.net.Socket;

public class ServerWorkerInputReader implements Runnable {
	Socket client = null;
	BufferedReader br = null;
	
	public ServerWorkerInputReader() {
	}
	
	public ServerWorkerInputReader(Socket client, BufferedReader br) {
		this.client = client;
		this.br = br;
	}
	
	@Override
	public void run() {
		String resultLine = null;
		try {
			while((resultLine = br.readLine()) != null) {
				System.out.println("Command Result : " + resultLine);
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}
